<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

   <title>DREAM Toolbox - prepseqarray</title>

   <meta name="keywords" content="prepseqarray">

   <meta name="description" content="prepseqarray">

   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  
   <meta name="robots" content="index, follow">

   <meta author="Jurriaan H. Spaaks">

   <link type="text/css" rel="stylesheet" href="styles/dream_styles.css">
 
</head>



<body>
<a name="_top"></a>

<div class="linkheader">
<a href="matlab:edit(fullfile(dreamroot,'prepseqarray'))">View source code of the function <span style="font-family:monospace">prepseqarray()</span> in the MATLAB editor</a><br><br>
<a href="matlab:web(fullfile(dreamroot,'html','contents.html'),'-helpbrowser')">Toolbox contents</a>
</div>

<div class="spacer">
</div>



<div class="h1">
prepseqarray</div>

<div class="h2">
Syntax
</div>

<div class="txt">
<pre>sequences = prepseqarray(dreamPar,sequences)</pre>
</div>

<div class="h2">
Description
</div>

<div class="txt">
Function <span style="font-family:monospace">prepseqarray</span> prepares the array <span style="monospace">sequences</span> for the next generation by pre-allocation. This is achieved by concatenating the existing array <span style="font-family:monospace">sequences</span> with an array of size <span style="font-family:monospace">[dreamPar.nOffspringPerCompl,size(sequences,2),dreamPar.nCompl]</span>, filled with NaNs.
</div>


<div class="footer">
</div>



<div class="spacer">
</div>


<a name="_bottom"></a>


</body>

</html>